package com.zxj.test.common.exception;

/**
 * @author zxj
 * @date 2020/7/18
 */
public abstract class AbstractException extends RuntimeException{

    public abstract Integer code();

    public AbstractException(String message) {
        super(message);
    }

    public AbstractException(String message, Throwable cause) {
        super(message, cause);
    }
}
